	<!-- 为ECharts准备一个具备大小（宽高）的Dom -->
	<div id="set_pressure_chart" style="height:500px; width:1150px;"></div>
	<script type="text/javascript">
		// 路径配置
		require.config({
			paths : {
				'echarts' : '/assets/echarts/echarts',
				'echarts/chart/pie' : '/assets/echarts/echarts'
			}
		});

		// 使用
		require([ 'echarts', 'echarts/chart/pie' // 使用柱状图就加载bar模块，按需加载
		], function(ec) {
			// 基于准备好的dom，初始化echarts图表
			var myChart = ec.init(document.getElementById('set_pressure_chart'));

			var labelTop = {
    normal : {
        label : {
            show : true,
            position : 'center',
            formatter : '{b}',
            textStyle: {
                baseline : 'bottom'
            }
        },
        labelLine : {
            show : false
        }
    }
};
var labelFromatter = {
    normal : {
        label : {
            formatter : function (params){
                return 100 - params.value + '%'
            },
            textStyle: {
                baseline : 'top'
            }
        }
    },
}
var labelBottom = {
    normal : {
        color: '#ccc',
        label : {
            show : true,
            position : 'center'
        },
        labelLine : {
            show : false
        }
    },
    emphasis: {
        color: 'rgba(0,0,0,0)'
    }
};
var radius = [40, 55];
           
                    
            option = {
    title : {
        text: '套压数据曲线',
        subtext: '来源：动液面在线监测系统'
    },
    tooltip : {
        trigger: 'axis'
    },
    legend: {
        data:['套压']
    },
    toolbox: {
        show : true,
        feature : {
            mark : {show: true},
            dataZoom : {show: true},
            magicType : {show: true, type: ['line', 'bar']},
            restore : {show: true},
            saveAsImage : {show: true}
        }
    },
    dataZoom : {
        show : true,
        realtime: true,
        start : 0,
        end : 50
    },
    calculable : true,
    xAxis : [
        {
            type : 'category',
            boundaryGap : false,
            data : [<#list welldataList as x>"${x.measure_ime!}",</#list>]
        }
    ],
    yAxis : [
        {
            type : 'value',
            axisLabel : {
                formatter: '{value} MPa'
            }
        }
    ],
    series : [
        {
            name:'套压',
            type:'line',
            data:[<#list welldataList as x>${x.set_pressure!},</#list>],
            markLine : {
                data : [
                    {type : 'average', name : '平均值'}
                ]
            }
        }
    ]
};              

			// 为echarts对象加载数据 
			myChart.setOption(option);
		});
	</script>